using SQLServices.Runners.Events;

namespace SQLServices.Runners
{

	/// <summary>
	/// Event Handler used by the runner when a notification is created
	/// </summary>
	public delegate void ProgressMsgCreatedEventHandler(object sender, ProgressMsgCreatedEventArgs e);

	/// <summary>
	/// Event Handler used by the runner to indicate that an error took place
	/// when a script file was executed
	/// </summary>
	public delegate void ScriptExecErrorEventHandler(object sender, ScriptExecutionErrorEventArgs e);

	/// <summary>
	/// Event Handler used by the runner to indicate that a script has been sucessfully 
	/// executed
	/// </summary>
	public delegate void ScriptExecutedEventHandler(object sender, ScriptExecutedEventArgs e);

    /// <summary>
    /// Event Handler used by the runner to indicate that all the scripts have been executed
    /// </summary>
	public delegate void ExecutionFinishedEventHandler(object sender, ExecutionFinishedEventArgs e);

}
